home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / njramd14.zip / NJRAMD.DOC < prev    next >
Text File  |  1989-12-03  |  11KB  |  304 lines

  1.  
  2.  
  3.    Nifty James' Famous (Enhanced) Expanded Memory RAM Disk Drive
  4.    Version 1.30ASP of 5 December, 1989
  5.  
  6.            _______
  7.       ____|__     |               (tm)
  8.    --|       |    |-------------------
  9.      |   ____|__  |  Association of
  10.      |  |       |_|  Shareware
  11.      |__|   o   |    Professionals
  12.    -----|   |   |---------------------
  13.         |___|___|    MEMBER
  14.  
  15.  
  16.    (C)  Copyright 1987, 1989 By Mike Blaszczak.  All Rights
  17.    Reserved.  This is a Shareware Program. A $15 registration
  18.    fee is requested.
  19.  
  20.    THIS PROGRAM MAY NOT BE RESOLD WITHOUT THE PRIOR WRITTEN
  21.    CONSENT OF THE AUTHOR.  "REPUBLISHING" SHAREWARE PROGRAMS
  22.    WITHOUT THE AUTHOR'S KNOWLEDGE IS A CRIME.
  23.  
  24.  
  25. Introduction
  26. ------------
  27.  
  28.    NJRAMD is a device driver that allows you to partition a
  29.    part of your EMS or EEMS memory as an extremely
  30.    efficient, extremely fast "RAM disk" drive.  Having a
  31.    part of your memory configured as a RAM disk will allow
  32.    you to store temporary files, intermediate files, and
  33.    other information quickly.
  34.  
  35.    NJRAMD is compatible with the Lotus/Intel/Microsoft EMS
  36.    standard, as well as the AST/Quadram/Ashton-Tate EEMS
  37.    standard.  NJRAMD will function equally well with both
  38.    systems.  NJRAMD was developed under LIM EMS 3.2, and
  39.    has been tested on LIM EMS 4.0 systems successfully.
  40.  
  41.    This program will also run with any version of DOS,
  42.    staring with version 2.00 or later.  I wrote it under
  43.    PC-DOS 3.1, and tested it under PC-DOS 2.00 and PC-DOS
  44.    2.10.  The program should work with MS-DOS, but it
  45.    hasn't been "officially" tested.
  46.  
  47.    NJRAMD takes up very little DOS space -- the program,
  48.    depending on the configuration that you use, takes
  49.    around 720 bytes of DOS memory, regardless of how large
  50.    the disk space is made.  The smallest configuration of
  51.    NJRAMD takes under 700 bytes of DOS memory.  Thus, you
  52.    can partition a very large RAM disk, and only take up a
  53.    very small portion of precious DOS memory.
  54.  
  55.  
  56. Use and Installation
  57. --------------------
  58.  
  59.    NJRAMD is installed as a DOS device driver when DOS is
  60.    first loaded.  Thus, you must specify the device driver
  61.    in the CONFIG.SYS file of your boot disk or diskette.
  62.    The entry in the CONFIG.SYS file must be anywhere
  63.    *after* the specification for the EMS device driver.
  64.    For example, the EMS driver that came with my Taiwanese
  65.    EMS clone is called INITIAL.SYS.  I also use ANSI.SYS,
  66.    which I specify in the CONFIG.SYS file, also.  Thus, my
  67.    CONFIG.SYS file looks like this:
  68.  
  69.                       device=\sys\initial.sys
  70.                       device=\sys\ansi.sys
  71.                       device=\sys\njramd.sys
  72.  
  73. |  Starting with version 1.20, this version, NJRAMD also
  74. |  comes with a file specially prepared for computers with
  75. |  extended instruction sets.  This includes processors
  76. |  like the 80186, 80286, and 80386.  You can also make
  77. |  use of this version if you have a NEC V-20 or V-30
  78. |  installed and running in your system.
  79.  
  80. |  The version is called NJRAMDXP.SYS.  "XP" stands for
  81. |  "Enhanced Processor".  This version of NJRAMD is coded
  82. |  to take advantage of the special, extra instructions that
  83. |  some CPU's have.  It is slightly smaller, and
  84. |  considerably faster than the standard version.  If this
  85. |  version doesn't work on your system, use the regular
  86. |  version.
  87.  
  88. |  Even if you only have a stock PC with a NEC V-20, you
  89. |  can expect the newver version of NJRAMD to be up to 5%
  90. |  faster in benchmark tests.  On a real 80286 system, the
  91. |  program will run up to 9% faster.
  92.  
  93. |  See the paragraph just before "Technical Information" if
  94. |  you have a PC's Limited computer.
  95.  
  96.    You might also have settings for the BUFFERS, FILES,
  97.    STACKSPACE, and BREAK settings in your CONFIG.SYS file.
  98.    These settings can remain unchanged, as they are
  99.    independent of NJRAMD.
  100.  
  101.    You can find more information on the uses of the
  102.    CONFIG.SYS file in the DOS manual.  The section is
  103.    called "Configuring your system".
  104.  
  105.    If you install NJRAMD as shown above, NJRAMD will
  106.    default to a disk of 32 EMS Pages, which is 512
  107.    kilobytes.  (One EMS Page is equal to 16 kilobytes of
  108.    storage space.  16 kilobytes stores 16384 bytes, or
  109.    characters, of information.)  If you would like to have
  110.    a larger or smaller RAM disk, you must specify the /P
  111.    option on the same line as NJRAMD in your CONFIG.SYS
  112.    file.  NJRAMD allocates space in one-page increments.
  113.    Since each EMS page is 16k bytes long, you can adjust
  114.    the size of NJRAMD in 16k increments.
  115.  
  116.    For example, to specify a RAM disk that is 100 pages
  117.    long, use this line in your CONFIG.SYS file:
  118.  
  119.                       device=njramd.sys /P100
  120.  
  121.    NJRAMD will try to take 100 pages of EMS memory -- this
  122.    will give you 1600k of RAM disk space.
  123.  
  124.    Of course, you must have enough free EMS memory at the
  125.    time that NJRAMD is loaded to accomodate the requested
  126.    size.  If there isn't enough memory, NJRAMD will
  127.    terminate with an error, and not install itself at all.
  128.    If you have selected a size that is too big to fit, you
  129.    will see the message
  130.  
  131.              Device not installed.
  132.              Requested size too big to fit.
  133.  
  134.    Remember that if you don't tell NJRAMD otherwise, it
  135.    will try to create a 512k RAM Disk.
  136.  
  137. |  In version 1.20 of NJRAMD, you can use the /A switch to
  138. |  use *all* of the available EMS memory, automatically,
  139. |  instead of specifying a /P option.  Note, though, that
  140. |  the /A option will not leave any memory for other EMS
  141. |  programs, such as disk cache programs or for 1-2-3.
  142.  
  143.    If there is no EMS memory available, at all, when NJRAMD
  144.    tries to load, you will see this message:
  145.  
  146.             Device not installed.
  147.             No free EMM Memory.
  148.  
  149.    If you see this message:
  150.  
  151.             Device not installed.
  152.             The EMM is not installed.
  153.  
  154.    the EMM for your system was not present when NJRAMD
  155.    loaded.  NJRAMD depends on the EMM for access to the EMS
  156.    memory.  The specification for your EMM driver *must*
  157.    appear before the specification for NJRAMD in your
  158.    CONFIG.SYS file.
  159.  
  160.    Once you have entered the proper information in your
  161.    CONFIG.SYS file, you must reboot your computer so that
  162.    the information in the file will take effect.  When
  163.    NJRAMD installs, it will print a copyright message, and
  164.    some status information reguarding the memory that it
  165.    has taken, and the amount of memory that is available as
  166.    a RAM disk.
  167.  
  168.    If you have any problems installing NJRAMD, please feel
  169.    free to write to me.  I'd be happy  to help!
  170.  
  171.  
  172. Clicking
  173. --------
  174.  
  175.    I programmed NJRAMD to click the system's speaker every
  176.    time the disk was accessed.  Since a RAM disk is silent,
  177.    it's often hard to tell when it is working.  To
  178.    compensate for the fact that there is no "whirring" or
  179.    "chirping" going on while the RAM disk is active, the
  180.    speaker clicks while the program accesses the memory.
  181.  
  182.    If you find this annoying, you can turn it off by
  183.    specifying the "/S" option in the CONFIG.SYS entry.  For
  184.    example,
  185.                          device=njramd.sys /P16 /S
  186.  
  187.    would create a 16-page (256k byte) RAM disk that does
  188.    not click when it is accessed.  If you specify the /S
  189.    option, NJRAMD will print the message
  190.  
  191.             Clicking Suppressed.
  192.  
  193.    when it is installed.
  194.  
  195. |  If you have an PC's Limited computer, with a Smart-Vu
  196. |  display, try using the program NJRAMDPL.SYS.  This
  197. |  version is the same as the other versions, but it
  198. |  writes to the Smart-Vu display.  When NJRAMD is writing,
  199. |  the display will show "NJ-W", and when it is reading, it
  200. |  will show "NJ-R".  Other than the statements that take
  201. |  care of the display, this version of the program is
  202. |  identical to NJRAMDXP.SYS.
  203.  
  204. |  If you have a PC's Limited and do not want NJRAMD to
  205. |  access the Smart-Vu display, use the NJRAMDXP.SYS
  206. |  program.
  207.  
  208.  
  209.  
  210. Technical Information
  211. --------- -----------
  212.  
  213.    I have included the assembly language source code in
  214.    this .ARC file (or on your white d